export default {
  height:'auto',
  calcHeight: 30,
  tip: false,
  searchShow: true,
  searchMenuSpan: 6,
  border: true,
  index: true,
  viewBtn: true,
  selection: true,
  dialogClickModal: false,
  column: [
    {
      label: "主键",
      prop: "id",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      hide: true,
    },
    {
      label: "租户ID",
      prop: "tenantId",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      hide: true,
    },        
    {
      label: "学员",
      prop: "studentName",
      type: "input",
    },
    {
      label: "课时卡",
      prop: "cardTypeName",
      type: "input",
    },     
    {
      label: "消课方式",
      prop: "courseCancellation",
      type: "select",
      
      dicUrl: '/xrsk-system/dict-biz/dictionary?code=course_cancellation',

      props: {
        label: 'dictValue',
        value: 'dictKey',
      },
      // dataType: 'string',
      // slot: true,
      // width: 100,
      // prop: 'scopeType',
      rules: [
        {
          required: true,
          message: '请选择消课方式',
          trigger: 'blur',
        },
      ],
    },
    {
      label: "课时",
      prop: "classHour",
      type: "input",
    },
    {
      label: "已使用课时",
      prop: "classHourUsed",
      type: "input",
    },
    {
      label: "费用",
      prop: "amount",
      type: "input",
    },
    {
      label: "开始",
      prop: "startTime",
      type: "input",
    },
    {
      label: "结束",
      prop: "endTime",
      type: "input",
    },
    {
      label: "所在班",
      prop: "classId",
      type: "input",
    },
    {
      label: "创建人",
      prop: "createUser",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      hide: true,
    },
    {
      label: "创建部门",
      prop: "createDept",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      hide: true,
    },
    {
      label: "创建时间",
      prop: "createTime",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      hide: true,
    },
    {
      label: "修改人",
      prop: "updateUser",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      hide: true,
    },
    {
      label: "修改时间",
      prop: "updateTime",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      hide: true,
    },
    {
      label: "状态",
      prop: "status",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      hide: true,
    },
    {
      label: "是否已删除",
      prop: "isDeleted",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      hide: true,
    },
  ]
}
